home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Read-Me1.3 / Autodocs1.3 / mathieeedoubbas.doc < prev    next >
Text File  |  1988-07-26  |  7KB  |  341 lines

  1.  
  2. TABLE OF CONTENTS
  3.  
  4. mathieeedoubbas.library/IEEEDPAbs
  5. mathieeedoubbas.library/IEEEDPAdd
  6. mathieeedoubbas.library/IEEEDPCeil
  7. mathieeedoubbas.library/IEEEDPCmp
  8. mathieeedoubbas.library/IEEEDPDiv
  9. mathieeedoubbas.library/IEEEDPFix
  10. mathieeedoubbas.library/IEEEDPFloor
  11. mathieeedoubbas.library/IEEEDPFlt
  12. mathieeedoubbas.library/IEEEDPMul
  13. mathieeedoubbas.library/IEEEDPNeg
  14. mathieeedoubbas.library/IEEEDPSub
  15. mathieeedoubbas.library/IEEEDPTst
  16.  
  17.  
  18. mathieeedoubbas.library/IEEEDPAbs             mathieeedoubbas.library/IEEEDPAbs
  19.  
  20.    NAME
  21.     IEEEDPAbs -- compute absolute value of IEEE double precision argument
  22.  
  23.    SYNOPSIS
  24.       x   = IEEEDPAbs(  y  );
  25.     d0/d1          d0/d1
  26.  
  27.     double    x,y;
  28.  
  29.    FUNCTION
  30.     Take the absolute value of argument y and return it to caller.
  31.  
  32.    INPUTS
  33.     y -- IEEE double precision floating point value
  34.  
  35.    RESULT
  36.     x -- IEEE double precision floating point value
  37.  
  38.    BUGS
  39.  
  40.    SEE ALSO
  41.  
  42. mathieeedoubbas.library/IEEEDPAdd             mathieeedoubbas.library/IEEEDPAdd
  43.  
  44.    NAME
  45.     IEEEDPAdd -- add one double precision IEEE number to another
  46.  
  47.    SYNOPSIS
  48.       x   = IEEEDPAdd(  y  ,  z  );
  49.     d0/d1          d0/d1 d2/d3
  50.  
  51.     double    x,y,z;
  52.  
  53.    FUNCTION
  54.     Compute x = y + z in IEEE double precision.
  55.  
  56.    INPUTS
  57.     y -- IEEE double precision floating point value
  58.     z -- IEEE double precision floating point value
  59.  
  60.    RESULT
  61.     x -- IEEE double precision floating point value
  62.  
  63.    BUGS
  64.  
  65.    SEE ALSO
  66.     IEEEDPSub
  67.  
  68. mathieeedoubbas.library/IEEEDPCeil           mathieeedoubbas.library/IEEEDPCeil
  69.  
  70.    NAME
  71.     IEEEDPCeil -- compute Ceil function of IEEE double precision number
  72.  
  73.    SYNOPSIS
  74.       x   = IEEEDPCeil(  y  );
  75.     d0/d1           d0/d1
  76.  
  77.     double    x,y;
  78.  
  79.    FUNCTION
  80.     Calculate the least integer greater than or equal to x and return it.
  81.     This value may have more than 32 bits of significance.
  82.     This identity is true.  Ceil(x) = -Floor(-x).
  83.  
  84.    INPUTS
  85.     y -- IEEE double precision floating point value
  86.  
  87.    RESULT
  88.     x -- IEEE double precision floating point value
  89.  
  90.    BUGS
  91.  
  92.    SEE ALSO
  93.     IEEEDPFloor
  94.  
  95. mathieeedoubbas.library/IEEEDPCmp             mathieeedoubbas.library/IEEEDPCmp
  96.  
  97.    NAME
  98.     IEEEDPCmp -- compare two double precision floating point numbers
  99.  
  100.    SYNOPSIS
  101.       c   = IEEEDPCmp(  y  ,  z  );
  102.       d0          d0/d1 d2/d3
  103.  
  104.     double    y,z;
  105.     long    c;
  106.  
  107.    FUNCTION
  108.     Compare y with z. Set the condition codes for less, greater, or
  109.     equal. Set return value c to -1 if y<z, or +1 if y>z, or 0 if
  110.     y == z.
  111.  
  112.    INPUTS
  113.     y -- IEEE double precision floating point value
  114.     z -- IEEE double precision floating point value
  115.  
  116.    RESULT
  117.        c = 1   cc = gt         for (y > z)
  118.        c = 0   cc = eq         for (y == z)
  119.        c = -1  cc = lt         for (y < z)
  120.  
  121.    BUGS
  122.  
  123.    SEE ALSO
  124.  
  125. mathieeedoubbas.library/IEEEDPDiv             mathieeedoubbas.library/IEEEDPDiv
  126.  
  127.    NAME
  128.     IEEEDPDiv -- divide one double precision IEEE by another
  129.  
  130.    SYNOPSIS
  131.       x   = IEEEDPDiv(  y  ,  z  );
  132.     d0/d1          d0/d1 d2/d3
  133.  
  134.     double    x,y,z;
  135.  
  136.    FUNCTION
  137.     Compute x = y / z in IEEE double precision.
  138.  
  139.    INPUTS
  140.     y -- IEEE double precision floating point value
  141.     z -- IEEE double precision floating point value
  142.  
  143.    RESULT
  144.     x -- IEEE double precision floating point value
  145.  
  146.    BUGS
  147.  
  148.    SEE ALSO
  149.     IEEEDPMul
  150.  
  151. mathieeedoubbas.library/IEEEDPFix             mathieeedoubbas.library/IEEEDPFix
  152.  
  153.    NAME
  154.     IEEEDPFix -- convert IEEE double float to integer
  155.  
  156.    SYNOPSIS
  157.     x   = IEEEDPFix(  y  );
  158.     d0        d0/d1
  159.  
  160.     long    x;
  161.     double    y;
  162.  
  163.    FUNCTION
  164.     Convert IEEE double precision argument to a 32 bit signed integer
  165.     and return result.
  166.  
  167.    INPUTS
  168.     y -- IEEE double precision floating point value
  169.  
  170.    RESULT
  171.     if no overflow occured then return
  172.         x -- 32 bit signed integer
  173.     if overflow return largest +- integer
  174.         For round to zero
  175.  
  176.    BUGS
  177.  
  178.    SEE ALSO
  179.     IEEEDPFlt
  180.  
  181. mathieeedoubbas.library/IEEEDPFloor
  182.  
  183.    NAME
  184.     IEEEDPFloor -- compute Floor function of IEEE double precision number
  185.  
  186.    SYNOPSIS
  187.       x   = IEEEDPFloor(  y  );
  188.     d0/d1            d0/d1
  189.  
  190.     double    x,y;
  191.  
  192.    FUNCTION
  193.     Calculate the largest integer less than or equal to x and return it.
  194.     This value may have more than 32 bits of significance.
  195.  
  196.    INPUTS
  197.     y -- IEEE double precision floating point value
  198.  
  199.    RESULT
  200.     x -- IEEE double precision floating point value
  201.  
  202.    BUGS
  203.  
  204.    SEE ALSO
  205.     IEEEDPCeil
  206.  
  207. mathieeedoubbas.library/IEEEDPFlt             mathieeedoubbas.library/IEEEDPFlt
  208.  
  209.    NAME
  210.     IEEEDPFlt -- convert integer to IEEE double precision number
  211.  
  212.    SYNOPSIS
  213.       x   = IEEEDPFlt(  y  );
  214.     d0/d1           d0
  215.  
  216.     double    x;
  217.     long    y;
  218.  
  219.    FUNCTION
  220.     Convert a signed 32 bit value to a double precision IEEE value
  221.     and return it in d0/d1. No exceptions can occur with this
  222.     function.
  223.  
  224.    INPUTS
  225.     y -- 32 bit integer in d0
  226.  
  227.    RESULT
  228.     x is a 64 bit double precision IEEE value
  229.  
  230.    BUGS
  231.  
  232.    SEE ALSO
  233.     IEEEDPFix
  234.  
  235. mathieeedoubbas.library/IEEEDPMul             mathieeedoubbas.library/IEEEDPMul
  236.  
  237.    NAME
  238.     IEEEDPMul -- multiply one double precision IEEE number by another
  239.  
  240.    SYNOPSIS
  241.       x   = IEEEDPMul(  y  ,  z  );
  242.     d0/d1          d0/d1 d2/d3
  243.  
  244.     double    x,y,z;
  245.  
  246.    FUNCTION
  247.     Compute x = y * z in IEEE double precision.
  248.  
  249.    INPUTS
  250.     y -- IEEE double precision floating point value
  251.     z -- IEEE double precision floating point value
  252.  
  253.    RESULT
  254.     x -- IEEE double precision floating point value
  255.  
  256.    BUGS
  257.  
  258.    SEE ALSO
  259.     IEEEDPDiv
  260.  
  261. mathieeedoubbas.library/IEEEDPNeg             mathieeedoubbas.library/IEEEDPNeg
  262.  
  263.    NAME
  264.     IEEEDPNeg -- compute negative value of IEEE double precision number
  265.  
  266.    SYNOPSIS
  267.       x   = IEEEDPNeg(  y  );
  268.     d0/d1          d0/d1
  269.  
  270.     double    x,y;
  271.  
  272.    FUNCTION
  273.     Invert the sign of argument y and return it to caller.
  274.  
  275.    INPUTS
  276.     y - IEEE double precision floating point value
  277.  
  278.    RESULT
  279.     x - IEEE double precision floating point value
  280.  
  281.    BUGS
  282.  
  283.    SEE ALSO
  284.  
  285. mathieeedoubbas.library/IEEEDPSub             mathieeedoubbas.library/IEEEDPSub
  286.  
  287.    NAME
  288.     IEEEDPSub -- subtract one double precision IEEE number from another
  289.  
  290.    SYNOPSIS
  291.       x   = IEEEDPSub(  y  ,  z  );
  292.     d0/d1          d0/d1 d2/d3
  293.  
  294.     double    x,y,z;
  295.  
  296.    FUNCTION
  297.     Compute x = y - z in IEEE double precision.
  298.  
  299.    INPUTS
  300.     y -- IEEE double precision floating point value
  301.     z -- IEEE double precision floating point value
  302.  
  303.    RESULT
  304.     x -- IEEE double precision floating point value
  305.  
  306.    BUGS
  307.  
  308.    SEE ALSO
  309.     IEEEDPAdd
  310.  
  311. mathieeedoubbas.library/IEEEDPTst             mathieeedoubbas.library/IEEEDPTst
  312.  
  313.    NAME
  314.     IEEEDPTst -- compare IEEE double precision value to 0.0
  315.  
  316.    SYNOPSIS
  317.       c   = IEEEDPTst(  y  );
  318.       d0          d0/d1
  319.  
  320.     double    y;
  321.     long    c;
  322.  
  323.    FUNCTION
  324.     Compare y to 0.0, set the condition codes for less than, greater
  325.     than, or equal to 0.0.  Set the return value c to -1 if less than,
  326.     to +1 if greater than, or 0 if equal to 0.0.
  327.  
  328.    INPUTS
  329.     y -- IEEE double precision floating point value
  330.  
  331.    RESULT
  332.     c = 1    cc = gt        for (y > 0.0)
  333.     c = 0    cc = eq        for (y == 0.0)
  334.     c = -1  cc = lt        for (y < 0.0)
  335.  
  336.    BUGS
  337.  
  338.    SEE ALSO
  339.  
  340.  
  341.